<!DOCTYPE html>
<html lang="it"><head>
    <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" >
    <title>
<?php 
include(SYSTEM_ROOT . "lib/gestore_lingue.php");
if(isset($_GET['id']))
	$id_profilo = $_GET['id'];
else
	$id_profilo = 0;	
if(isset($_GET['citta']))
	$citta = $_GET['citta'];
else
	$citta = "";	
	
$page->ShowMetaTag($id_profilo); 
echo($page->_pageTitle);
$canonical = $page->GetCanonicalScheda();

?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="<?php echo($page->_pageDescription);?>" >
    <meta name="robots" content="index,follow" />
	<?=$canonical;?>
    <meta name="author" content="">
    <link href="http://static.escortfashion.com/css/bootstrap-dark.css" rel="stylesheet">
    <link href="http://static.escortfashion.com/css/bootstrap-responsive.css" rel="stylesheet">
	<link href="http://static.escortfashion.com/css/docs-dark.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="http://static.escortfashion.com/css/line_horizontal_buttons_100.css" />
    <link rel="stylesheet" type="text/css" href="http://static.escortfashion.com/css/grid_horizontal_buttons_widthHeightRestrain.css" />
    <link rel="stylesheet" href="http://static.escortfashion.com/css/prettyPhoto.css" type="text/css" media="screen" />
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src=""http://static.escortfashion.com/js/html5shiv.js"></scrit>
    <![endif]-->
    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://static.escortfashion.com/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://static.escortfashion.com/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://static.escortfashion.com/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="http://static.escortfashion.com/ico/apple-touch-icon-57-precomposed.png">
    <link rel="shortcut icon" href="http://static.escortfashion.com/ico/favicon.png">
    <?php //$page->PutExtraHeader(); ?>
    <script type="text/javascript" src="http://static.escortfashion.com/ecomments/js/brain.js"></script>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="http://static.escortfashion.com/js/jquery-1.9.1.min.js"></script>
    
  </head>
<body  data-spy="scroll" data-target=".bs-docs-sidebar">
<!-- header -->	
	<header>
<!-- menu -->
    <? include("inc-header.php");?>
<!-- fine menu -->    
<!-- inizio Escort banner -->    
    <? include("inc-banner-header.php");?>
<!-- fine Escort banner -->  
	</header>
<!-- fine header -->
  <div class="container">

    <!-- Docs nav
    ================================================== -->
    <div class="row">
      <div class="span3 bs-docs-sidebar">
        <ul class="nav nav-list bs-docs-sidenav">
          <li><a href="#"><i class="fa fa-chevron-right cccc"></i> Novit�</a></li>
          <li><a href="#"><i class="fa fa-chevron-right cccc"></i> Ragazza del mese</a></li>
          <li><a href="#"><i class="fa fa-chevron-right cccc"></i> Sogni proibiti</a></li>
          <!--<li><a href="#what-next"><i class="fa-chevron-right cccc"></i> Escort Catania</a></li>-->
          <li><a href="#"><i class="fa fa-chevron-right cccc"></i> Speciale escort a Milano</a></li>
          <li><a href="#"><i class="fa fa-chevron-right cccc"></i> Speciale escort a Roma</a></li>
        </ul>
      </div>
      <div class="span9">
           	<?php
 	//Questa pagina � unica per tutti i sessi. 
	include_once SYSTEM_ROOT . 'lib/translate.class.php';
	$translate = new Translate();
	
	$obj = new Main();
	$nome_url = $obj->CleanStringForUrl($page->_name);
	
	/*** TRADUZIONI ***/	
	
    $page->ShowSingleProfile($lingua="it", "D", "T"); 
		
	$citta = $translate->TranslateCityName($page->_citta);
	$citta_url = $obj->CleanStringForUrl($citta);
	$colore_occhi = $translate->TranslateEyes($page->_occhi);
	$colore_capelli = $translate->TranslateHair($page->_capelli);
	$citta_tour = $translate->TranslateCityName($page->_citta_tour);
			
	if($page->_dt_da_tour!=null)
	{
		$born_day = substr($page->_dt_da_tour, 8, 2);
		$born_month = substr($page->_dt_da_tour, 5, 2);
		$born_year = substr($page->_dt_da_tour, 0, 4);
		$dt_da_tour_format = $born_day."/".$born_month."/".$born_year;
	}
	else
		$dt_da_tour_format = "";
		
	if($page->_dt_a_tour!=null)
	{
		$born_day = substr($page->_dt_a_tour, 8, 2);
		$born_month = substr($page->_dt_a_tour, 5, 2);
		$born_year = substr($page->_dt_a_tour, 0, 4);
		$dt_a_tour_format = $born_day."/".$born_month."/".$born_year;
	}
	else
		$dt_a_tour_format = "";
						
	$citta_tour2 = $translate->TranslateCityName($page->_citta_tour2);
	
	if($page->_dt_da_tour2!=null)
	{
		$born_day = substr($page->_dt_da_tour2, 8, 2);
		$born_month = substr($page->_dt_da_tour2, 5, 2);
		$born_year = substr($page->_dt_da_tour2, 0, 4);
		$dt_da_tour_format2 = $born_day."/".$born_month."/".$born_year;
	}
	else
		$dt_da_tour_format2 = "";
		
	if($page->_dt_a_tour2!=null)
	{
		$born_day = substr($page->_dt_a_tour2, 8, 2);
		$born_month = substr($page->_dt_a_tour2, 5, 2);
		$born_year = substr($page->_dt_a_tour2, 0, 4);
		$dt_a_tour_format2 = $born_day."/".$born_month."/".$born_year;
	}
	else
		$dt_a_tour_format2 = "";
		
	$citta_tour3 = $translate->TranslateCityName($page->_citta_tour3);
	
	if($page->_dt_da_tour3!=null)
	{
		$born_day = substr($page->_dt_da_tour3, 8, 2);
		$born_month = substr($page->_dt_da_tour3, 5, 2);
		$born_year = substr($page->_dt_da_tour3, 0, 4);
		$dt_da_tour_format3 = $born_day."/".$born_month."/".$born_year;
	}
	else
		$dt_da_tour_format3 = "";
		
	if($page->_dt_a_tour3!=null)
	{
		$born_day = substr($page->_dt_a_tour3, 8, 2);
		$born_month = substr($page->_dt_a_tour3, 5, 2);
		$born_year = substr($page->_dt_a_tour3, 0, 4);
		$dt_a_tour_format3 = $born_day."/".$born_month."/".$born_year;
	}
	else
		$dt_a_tour_format3 = "";	
			
    $descrSesso = $TOP_ESCORT;
    $descrSessoSingolare = ucfirst($ESCORT);
    $hrefList = $_SESSION['lingua_url']."$HREF_ANNUNCI_TOP_ESCORT";
    $hrefProfile = $_SESSION['lingua_url']."$page->_user_id/$HREF_ANNUNCI_ESCORT/$citta_url/$nome_url";
    $hrefCitta = $_SESSION['lingua_url']."$page->_id_citta/$HREF_LISTA_ANNUNCI_TOP_ESCORT/$citta_url"; 	
				
	$title = $page->_name." ".$categoria." ".$citta;
	$rating = $page->_rating;	
			
	$bannerClass = '<img src="http://static.escortfashion.com/images/element/box-top-class-escort.png" alt="'.$page->_name.' '.$descrSesso.' '.$citta.'" title="'.$page->_name.' '.$descrSesso.' '.$citta.'" />';	
		
	$bannerNewEntry = '';
	if($page->_publicdate!="") 
	{
		$publicdate = date("j/m/Y", $page->_publicdate);
		$oggi = date("j/m/Y", time());
		$diff_ts = time() - $page->_publicdate;  
				// Calcolo et�
		$diff_gg = floor( $diff_ts / 86400 );			
		if($diff_gg<31)
			$bannerNewEntry = '<img src="http://static.escortfashion.com/images/element/box-new-entry.png" alt="'.$page->_name.' '.$categoria.' '.$NEW_ENTRY_A.' '.$citta.'" title="'.$page->_name.' '.$categoria.' '.$NEW_ENTRY_A.' '.$citta.'" /><br />';
	} 
	if($page->_f_ragazza_mese=="S")
		$bannerMonthGirl = '<img src="http://static.escortfashion.com/images/element/box-ragazza-del-mese.png" alt="'.$page->_name.' '.$ALT_ESCORT_MESE.' '.$page->_ragazza_del_mese_di.'"  title="'.$page->_name.' '.$ALT_ESCORT_MESE.' '.$page->_ragazza_del_mese_di.'" />';
	else
		$bannerMonthGirl = '';

	if($page->_f_foto_attendibili=="S")
		$fotoChecked = '<span class="alert alert-success"><i class="fa fa-camera"></i> '.$IMMAGINI_ATTENDIBILI.'</span>';
	else if($page->_f_foto_attendibili=="N")
		$fotoChecked = '<i class="fa fa-camera"></i> '.$IMMAGINI_NON_ATTENDIBILI.'';
	else
		$fotoChecked = '<i class="fa fa-camera"></i> '.$IMMAGINI_DUBBIE.'';
						
	if($page->_f_verificato=="S")
		$bannerProfiloVerificato = '<img src="http://static.escortfashion.com/images/element/box-utente-verificato.png" title="'.$UTENTE.$page->_name.$VERIFICATO.'" alt="'.$UTENTE.$page->_name.$VERIFICATO.'" />';
	else
		$bannerProfiloVerificato = '';
		
	if($page->_f_nuove_foto=="S")
		$bannerNewFoto = '<img src="http://static.escortfashion.com/images/element/box-nuove-foto.png" title="Nuove foto di '.$page->_name.' inserite" alt="Nuove foto di '.$page->_name.' inserite" />';
	else
		$bannerNewFoto = '';
	?>

        <!-- Download
        ================================================== -->
        <section id="download-bootstrap">
<ul class="breadcrumb">
  <li><a href="/<?=$HREF_HOME?>" title="<?=ucfirst($ANNUNCI).' '.$descrSesso; ?> <?=$citta; ?> <?=$page->_name; ?>">Home</a> <span class="divider">/</span></li>
  <li><a href="<?=$hrefList; ?>" title="<?=$GUARDA_ANNUNCIO_DI.$descrSesso; ?>"><?=$descrSesso; ?></a> <span class="divider">/</span></li>
  <li><a href="<?=$hrefCitta?>" title="<?=$GUARDA_ANNUNCIO_DI.$descrSesso.$DI.$citta; ?>"><?=$citta; ?></a> <span class="divider">/</span></li>
  <li class="active"><a href="<?=$hrefProfile;?>" title="<?=$ANNUNCIO_DI?> <?=$page->_name; ?> <?=$descrSesso; ?> <?=$citta_url; ?>"><?=$page->_name; ?></a></li>
  <li class="pull-right"><a href="#" title=""><img src="http://static.escortfashion.com/images/1.gif" width="24" height="18" alt="Contact us" class="sprite-flag h18 english"></a><a href="" title=""><img src="http://static.escortfashion.com/images/1.gif" width="24" height="18" alt="" class="sprite-flag h18 spanish"></a></li>
</ul>        
          <!--<div class="page-header">
            <h2><img src="images/1.gif" class="sprite big-icons heart" alt="Hot Fashion" />Evelyne <small>Escort Roma</small></h2>
          </div>-->
		<!-- corpo dettaglio -->
        	<div class="row">
        <div class="span4" data-original-title="" title="">
        	<h2 class="pull-left"><img src="http://static.escortfashion.com/images/1.gif" class="sprite big-icons heart" alt="Hot Fashion" /><?=$page->_name;?> <small><?=$descrSesso;?> <?=$citta; ?></small></h2>
            <br class="clearfloat">
           <ul class="thumbnails">
			<li class="span4">
              <a href="#" class="thumbnail">
              <img alt="<?php echo $title; ?>" src="/watermark.php?img=images/users/box/<?=$page->_nome_foto_principale?>" title="<?php echo $title; ?>" />
              </a>
            </li>             
          </ul>
        </div>
        <div class="span5">
         <div class="tabbable">
  		  <ul class="nav nav-tabs">
    		<li class="active"><a href="#tab1" data-toggle="tab">Bio</a></li>
    		<li><a href="#tab2" data-toggle="tab">Profilo</a></li>
            <li><a href="#tab3" data-toggle="tab">Contattami</a></li>
            <?if($page->_f_mappa=="S"){?>
                <li><a href="#tab4" data-toggle="tab">Mappa</a></li>
            <?}?>
  		  </ul>
  			  <div class="tab-content">
    			<div class="tab-pane active" id="tab1">
      			<p><?=$page->_annuncio; ?></p>
                <p class="alert-dark alert-block">
                  <strong><?=$GIORNI?></strong> <?=$translate->TranslateDay($page->_giorno_da);?> - <?=$translate->TranslateDay($page->_giorno_a);?>
				  <strong><?=$ORARI_DALLE?></strong> <?=$page->_orario_da;?> <strong><?=$ORARI_ALLE?></strong> <?=$page->_orario_a;?><br>  
                  <strong> <?=$DISPONIBILITA?>:</strong>  <?=$page->_tipo_servizi;?><br />            
                  <strong>Disponibilit� a viaggiare:</strong> Weekend, Viaggi<br> 
                  <?
				$dedicato = "";
				if($page->_f_disp_uomini=="S") $dedicato = $UOMINI." ";
				if($page->_f_disp_donne=="S") $dedicato .= $DONNE." ";
				if($page->_f_disp_coppie=="S") $dedicato .= $COPPIE." ";
				if($page->_f_disp_2_piu=="S") $dedicato .= "2+";
				if($dedicato!="")
					$dedicato = "<strong>".$DEDICATO_A.":</strong> ".$dedicato."";
									
                echo($dedicato);
                ?><br>
                  
				</p>
                <div class="alert alert-phone">
                  <h4><i class="fa fa-phone-square fa-lg"></i> <small><?=$CHIAMA?> <strong><?=$page->_name;?></strong> <?=$AL?></small> 
                  <? if($page->_f_vacanza=='S')
                { ?>
				<?=$IN_VACANZA?>
                <?
                } else if($page->_telefono1!="" && $page->_telefono1 != null){
                ?>
                <?=$page->_prefisso1.".".$page->_telefono1; ?>
                 <?
                }
                ?>
                <?
                if($page->_telefono2!=null)
                    echo('<small> - </small>'.$page->_prefisso2.'.'.$page->_telefono2.'')?></h4></div>
                <div class="alert alert-city">
                <h5><i class="fa fa-map-marker fa-lg"></i> 
                <?
                	if($citta!=null)
                {
                    echo('<small>'.$CITTA.' </small>'.$citta.' ');	
                    if($page->_zona!=null)
                        echo(' ('.$page->_zona.')');	
                    else
                        echo(' ');	
                }		
				if($page->_cittaSecondarie!="")
					echo('<small>'.$CITTA_SECONDARIE.'</small>'.$page->_cittaSecondarie.'');
                		
                ?>
                </div>
                <div class="rating-dettaglio"><?php echo $bannerClass; ?>
                    <?php echo $bannerNewEntry; ?>
                    <?php echo $bannerMonthGirl; ?>
                    <?php echo $bannerNewFoto; ?>
                    <?php echo $bannerProfiloVerificato; ?>
                </div>    
    			</div>


    		  <div class="tab-pane" id="tab2">
				<h4><i class="fa fa-heart c333"></i> Profilo di <?=$page->_name;?></h4>
              	<div class="span2">
                   <p class="lheight26">
                    <?
                if($page->_f_mostra_dt_nascita=="S")
                    echo('<span class="fashion">' .$ETA. ': </span> ' .$page->_eta.'<br />');				
                if($page->_nazionalita!=null && $page->_nazionalita!=$NESSUNA)
                    echo('<span class="fashion">'.$ETNIA.': </span>'.$page->_nazionalita.'<br />');	
                if($colore_capelli!=null)
                    echo('<span class="fashion">'.$CAPELLI.': </span>'.$colore_capelli.'<br />');	
                if($colore_occhi!=null)
                    echo('<span class="fashion">'.$OCCHI.': </span>'.$colore_occhi.'<br />');	
                if($page->_altezza!=null)
                    echo('<span class="fashion">'.$ALTEZZA.': </span>'.$page->_altezza.'<br />');	
                if($page->_peso!=null)
                    echo('<span class="fashion">'.$PESO.': </span>'.$page->_peso.' kg<br />');	
                if($page->_seno!=null)
                    echo('<span class="fashion">'.$SENO.': </span>'.$page->_seno.'&ordf;<br />');	

				
				if($page->_pelipublici!=null)
                    echo('<span class="fashion">'.$PELIPUBICI.': </span>'.$page->_pelipubici.'<br />');	
                if($page->_drink!=null)
                    echo('<span class="fashion">'.$DRINK.': </span>'.$page->_drink.'<br />');		
				if($page->_food!=null)
                    echo('<span class="fashion">'.$FOOD.': </span>'.$page->_food.'<br />');	
                if($page->_fiori!=null)
                    echo('<span class="fashion">'.$FIORI.': </span>'.$page->_fiori.'<br />');		
				if($page->_profumo!=null)
                    echo('<span class="fashion">'.$PROFUMO.': </span>'.$page->_profumo.'<br />');	
                if($page->_stilista!=null)
                    echo('<span class="fashion">'.$STILISTA.': </span>'.$page->_stilista.'<br />');		
				if($page->_cittapref!=null)
                       echo('<span class="fashion">'.$CITTAPREF.': </span>'.$page->_cittapref.'<br />');																
             ?>
   
                   </p>               
                </div>
                <div class="span2">
                <a class="btn btn-large btn-block" type="button"><i class="fa fa-bullhorn"></i> Dillo a un amico</a>
                <a class="btn btn-large btn-block btn-fashion" type="button"><i class="fa fa-exclamation-triangle"></i> Segnala foto false</a>
                </div>
                <br class="clearfloat">
    		 </div>
             
             <div class="tab-pane min-hg420" id="tab3">
				<h4><i class="fa fa-heart c333"></i> Invia un messaggio a <?=$page->_name;?></h4>
              	<div class="span4">
                    <div id="comments" class="comment-div">
   <script type="text/javascript">
		eComments.init({
    		pageId: "<?=$page->_user_id;?>",
        	containerId: "#comments",
			pathToApp: "/ecomments/",
        	commentsPerPage: 0

    	});
	</script>
              </div>
                </div>
             </div>
    		  <div class="tab-pane" id="tab4">
  
ddfdffdf
    		 </div>           
  		 </div>
		</div>  
       </div>
	</div> 
        <!-- corpo dettaglio --> 
<!--GGGGGGGGGGG--> 
 <h3><i class="fa fa-camera c333"></i> Guarda le immagini di <?=$page->_name;?> <small><?php echo $fotoChecked; ?></small></h3>
<div class="h510">
<br class="clearfloat">
<div id="componentWrapper2">
                 
              <div class="thumbContainer">
                     
                    <div class="thumbInnerContainer">
                 <?
           	$res = $page->ReadUserPhotos($page->_user_id);
			while ($row = mysql_fetch_array($res))
			{    
				$nome_foto = stripslashes($row["nome_foto"]);   
				$citta_zona = "";
				if($citta!=null)
				{
					$citta_zona = $citta;	
					if($page->_zona!=null)
						$citta_zona = $citta_zona." (".$page->_zona.")";
				}
				?>
                   		 <div class='thumbHolder' data-title="<?php echo $title; ?>">  
                             <a class="pp_content" href="/watermark.php?img=images/users/<?php echo $nome_foto; ?>" data-rel="prettyPhoto[gallery1]" title="<?php echo $page->_name.' - '.$citta_zona.' tel. '.$page->_prefisso1.'.'.$page->_telefono1; ?>"><img class="thumb_hidden" src="/image.php?width=240&amp;height=301&amp;image=/images/users/box/<?php echo $nome_foto; ?>" width="240" alt="<?php echo $title; ?>" /></a>  
                         </div>
				 <?
			}
			mysql_free_result($res);
            
			//$indcomp=$page->_cap.", ".$page->_tipo_via." ".$page->_indirizzo.", ".$page->_civico;
			$zonaForzata = (($page->_zona!="" && $page->_zona!=$CENTRO) ? $page->_zona.", " : (($citta==$MILANO || $citta==$TORINO) ? $CENTRO.", " : ""));
			$indcomp = "";
			$indcomp .= $page->_civico!="" ? $page->_civico." " : "";
			$indcomp .= ($page->_tipo_via!="" && $page->_indirizzo!="") ? $page->_tipo_via." ".$page->_indirizzo.", " : $zonaForzata;
			$indcomp .= $citta!="" ? $citta : $ITALIA;  
			$indcomp .= $page->_cap!="" ? ", ".$page->_cap : "";  
			
			$indirizzoPuntatore = "";
			$indirizzoPuntatore .= ($page->_tipo_via!="" && $page->_indirizzo!="") ? ("<br /><img src=http://static.escortfashion.com/images/element/flesk.png align='left' />".$page->_tipo_via." ".$page->_indirizzo) : '';
			
			?>
                    
                    </div>
                    
            </div>
            
            <div class="thumbBackward thumb_hidden"><img src="http://static.escortfashion.com/data/icons/thumb_backward.png" alt="" width="21" height="31" /></div>	
            <div class="thumbForward thumb_hidden"><img src="http://static.escortfashion.com/data/icons/thumb_forward.png" alt="" width="21" height="31" /></div>  
               
        </div>
 
</div>
<!--GGGGGGGGGGG-->                 
 <br class="clearfix">         
	<div class="button-text-panel">
    <div class="well well-large">
  <p>Escortfashion.com offre un servizio rivolto ad un pubblico adulto e vietato ai minori di 18 anni.    Tale servizio pubblicitario consiste e si esaurisce  nella pubblicazione di annunci 
  personali e nella consultazione GRATUITA degli stessi da parte dell'utenza, pertanto la redazione non si assume la responsabilit� sui contenuti ospitati sul sito n�  della veridicit� delle inserzioni, restandone unico responsabile l'Inserzionista. </p>
  <h5>Non svolgiamo servizi di intermediazione tra inserzionisti e utenti n� di consulenza per qualsiasi contesto che esuli dalla semplice pubblicazione dell'annuncio.</h5>
    </div>
</div>

        </section>

        <!-- File structure
        ================================================== --><!-- Contents
        ================================================== --><!-- HTML template
        ================================================== --><!-- Next
        ================================================== -->
        <section id="what-next">
          <div class="page-header">
            <h1>Vuoi pubblicare un annuncio?</h1>
          </div>
          <p class="lead">Pubblicare un annuncio escort su Escortfashion.com � semplice e veloce, ti bastano due minuti. Per saperne di pi� leggi le nostre linee guida, oppure procedi direttamente alla pubblicazione.</p>
          <a class="btn btn-large btn-fashion" href="#" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Visit docs']);">Scopri come pubblicare</a>
          <a class="btn btn-large mleft5" href="./customize.html" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Customize']);">Pubblica il tuo annuncio</a>
        </section>
      </div>
    </div>
<br class="clearfloat">
  </div>
<br class="clearfix">
<footer class="footer">
    <? include("inc-footer.php"); ?>
</footer>
<? include("inc-google.php"); ?>
<!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="http://static.escortfashion.com/js/jquery.lazyload.js"></script>
    <script src="http://static.escortfashion.com/js/bootstrap.min.js"></script>
	<script src="http://static.escortfashion.com/js/application.js"></script>
	<script src="http://static.escortfashion.com/js/jquery.easing.1.3.js"></script>
    <script src="http://static.escortfashion.com/js/jquery.prettyPhoto.js" charset="utf-8"></script>
    <script src="http://static.escortfashion.com/js/jquery.mousewheel.js"></script>
    <script src="http://static.escortfashion.com/js/jquery.thumbGallery.min.js"></script>
    <script type="text/javascript">
			jQuery(document).ready(function($) {
					  
				$('#componentWrapper').thumbGallery({	
					/* GENERAL */
					/*layoutType: grid/line */
					layoutType: 'line',
					/*thumbOrientation: horizontal/vertical */
					thumbOrientation: 'horizontal',
					/*moveType: scroll/buttons */
					moveType: 'buttons',
					
					/*scrollOffset: how much to move scrollbar and scrolltrack off the content (enter 0 or above) */
					scrollOffset: 0,
					
					/* GRID SETTINGS */
					/*verticalSpacing:  */
					verticalSpacing: 10,
					/*horizontalSpacing:  */
					horizontalSpacing: 10,
					/*buttonSpacing: button spacing from the grid itself */
					buttonSpacing: 10,
					/*direction: left2right/top2bottom (direction in which boxes are listed) */
					direction: 'left2right',
					
					/* INNER SLIDESHOW */
					/*innerSlideshowDelay: slideshow delay for inner items in seconds, random value between: 'min, max', 
					enter both number the same for equal time delay like for example 2 seconds: '2,2' */
					innerSlideshowDelay:[2,4],
					/*innerSlideshowOn: autoplay inner slideshow, true/false */
					innerSlideshowOn:false
				});		


				$('#componentWrapper2').thumbGallery({	
					/* GENERAL */
					/*layoutType: grid/line */
					layoutType: 'grid',
					/*thumbOrientation: horizontal/vertical */
					thumbOrientation: 'horizontal',
					/*moveType: scroll/buttons */
					moveType: 'buttons',
					/*scrollOffset: how much to move scrollbar and scrolltrack off the content (enter 0 or above) */
					scrollOffset: 0,
					
					/* GRID SETTINGS */
					/*verticalSpacing:  */
					verticalSpacing: 10,
					/*horizontalSpacing:  */
					horizontalSpacing: 10,
					/*buttonSpacing: button spacing from the grid itself */
					buttonSpacing: 10,
					/*direction: left2right/top2bottom (direction in which boxes are listed) */
					direction: 'top2bottom',
					
					/* INNER SLIDESHOW */
					/*innerSlideshowDelay: slideshow delay for inner items in seconds, random value between: 'min, max', 
					enter both number the same for equal time delay like for example 2 seconds: '2,2' */
					innerSlideshowDelay:[2,4],
					/*innerSlideshowOn: autoplay inner slideshow, true/false */
					innerSlideshowOn:false
				});	
				
				jQuery("a[data-rel^='prettyPhoto']").prettyPhoto({theme:'pp_default',
												deeplinking: false, 
												callback: function(){detailClosed();}/* Called when prettyPhoto is closed */});	
		   });
		
        </script>        
 
</body>
</html>